package com.qingmeng.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qingmeng.apicommon.model.entity.UserInterfaceInfo;
import com.qingmeng.project.model.entity.InterfaceInfoCount;

import java.util.List;

/**
* @author WPF
* @description 针对表【user_interface_info(接口信息表)】的数据库操作Mapper
* @createDate 2024-12-12 22:00:40
* @Entity generator.domain.UserInterfaceInfo
*/
public interface UserInterfaceInfoMapper extends BaseMapper<UserInterfaceInfo> {

    //select interface_id,sum(count_num) as count_sum
    // from user_interface_info
    // group by interface_id
    // order by count_sum desc
    // limit 2;
    List<InterfaceInfoCount> countInterface(int limit);

}




